package show.lmm.oauth2server.core.entity;

import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.Data;

/**
 * 应用信息
 */
@Data
@Entity
@Table(name = "app_info")
public class AppInfo {

    /**
     * 应用id
     */
    @Id
    private int appId;

    /**
     * 应用key
     */
    private String appKey;

    /**
     * 应用秘钥
     */
    private String appSecret;

    /**
     * ip白名单列表，多个以英文逗号分割
     */
    private String ipWhites;
}
